package com.yomahub.liteflow.example.component;

import com.yomahub.liteflow.core.NodeComponent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class SecondAction extends NodeComponent {
	private static final Logger logger = LoggerFactory.getLogger(FirstAction.class);
	@Override
	public void process() throws Exception {
		System.out.println("bb");
		logger.info("bbbbbb");
		Thread.sleep(1000);
	}
}
